package mysql

import "gorm.io/gorm"

type Product struct {
	gorm.Model
	Title  string `gorm:"type:varchar(20);not null;comment:商品标题"`
	Info   string `gorm:"type:varchar(40);not null;comment:描述"`
	Image  string `gorm:"type:varchar(300);not null;comment:图片"`
	UserId int64  `gorm:"type:int(11);not null;comment:用户ID"`
}
